package com.alks.function.data.request.produce;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author MS
 * @since 2024/7/3下午4:20
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class DisOthTempRequest {

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "生产日期")
    private LocalDateTime dispatchDate;

    @NotBlank
    @ApiModelProperty(value = "补单")
    private String slipNo;

    @ApiModelProperty(value = "工艺")
    private List<String> process;

    @ApiModelProperty(value = "号码")
    private List<String> sizeNo;

}
